/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package rowcounter;

import java.util.regex.*;

/**
 *
 * @author BhatG
 */
public class ArgChecker {
    private String[] allArgs;

    public ArgChecker(String[] allArgs) {
        this.allArgs=allArgs.clone();
    }

    public String getValue(String argName) {
        
        return System.getProperty(argName);
        /**
        String retValue;

        Pattern pattern = Pattern.compile("-?\\bConfigFile\\b=?", Pattern.CASE_INSENSITIVE);
        for (String arg: allArgs) {
            Matcher matcher = Pattern.matcher(arg);
        }
        return retValue;
         **/
    }

}
